package com.zwxbc.funplay.entity;

import java.util.Date;

public class PlayerGameLibrary {
	private Long libraryId;
	private Long playerId;
	private Long gameId;
	private Date purchaseDate;
	private Long playtime;

	public PlayerGameLibrary() {
	}

	public PlayerGameLibrary(Long libraryId, Long playerId, Long gameId, Date purchaseDate, Long playtime) {
		this.libraryId = libraryId;
		this.playerId = playerId;
		this.gameId = gameId;
		this.purchaseDate = purchaseDate;
		this.playtime = playtime;
	}

	public Long getLibraryId() {
		return libraryId;
	}

	public void setLibraryId(Long libraryId) {
		this.libraryId = libraryId;
	}

	public Long getPlayerId() {
		return playerId;
	}

	public void setPlayerId(Long playerId) {
		this.playerId = playerId;
	}

	public Long getGameId() {
		return gameId;
	}

	public void setGameId(Long gameId) {
		this.gameId = gameId;
	}

	public Date getPurchaseDate() {
		return purchaseDate;
	}

	public void setPurchaseDate(Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	public Long getPlaytime() {
		return playtime;
	}

	public void setPlaytime(Long playtime) {
		this.playtime = playtime;
	}

	@Override
	public String toString() {
		return "PlayerGameLibrary{" +
				"libraryId=" + libraryId +
				", playerId=" + playerId +
				", gameId=" + gameId +
				", purchaseDate=" + purchaseDate +
				", playtime=" + playtime +
				'}';
	}
}

